Fix annotations for GtkCustomLayout
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 22 Apr 2020 18:24:45 +0000 (19:24 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 22 Apr 2020 18:24:45 +0000 (19:24 +0100)
Silence the warnings from the introspection scanner.

gtk/gtkcustomlayout.c
gtk/meson.build

index 13f14488ec8f0b234cbe42f6c8022c3aa7c6d5e7..42714359c535a8518544f5b5811ed2f49d28307c 100644 (file)
@@ -96,12 +96,12 @@ gtk_custom_layout_init (GtkCustomLayout *self)
 }
 
 /**
- * gtk_custom_layout_new: (constructor) (skip)
- * @request_mode: (nullable): a function to retrieve
+ * gtk_custom_layout_new:
+ * @request_mode: (nullable) (scope call): a function to retrieve
  *   the #GtkSizeRequestMode of the widget using the layout; the
  *   default request mode is %GTK_SIZE_REQUEST_CONSTANT_SIZE
- * @measure: (not nullable): a function to measure the widget using the layout manager
- * @allocate: (not nullable): a function to allocate the children of the widget using
+ * @measure: (not nullable) (scope call): a function to measure the widget using the layout manager
+ * @allocate: (not nullable) (scope call): a function to allocate the children of the widget using
  *   the layout manager
  *
  * Creates a new legacy layout manager.
index 71fb901e214c3343ec898d10f863076dd3e0ecd7..aa61d4417ba336decfea2670bb4d2e0bc6ed1187 100644 (file)
@@ -97,7 +97,6 @@ gtk_private_sources = files([
   'gtkcssunsetvalue.c',
   'gtkcssvalue.c',
   'gtkcsswidgetnode.c',
-  'gtkcustomlayout.c',
   'gtkdrop.c',
   'gtkfilechooserembed.c',
   'gtkfilechooserentry.c',
@@ -203,6 +202,7 @@ gtk_public_sources = files([
   'gtkconstraint.c',
   'gtkcontainer.c',
   'gtkcssprovider.c',
+  'gtkcustomlayout.c',
   'gtkdialog.c',
   'gtkdragicon.c',
   'gtkdragsource.c',